Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TF to 2.12 (backport from IB/CMSSW_13_2_X/g13 branch) #8565

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

iarspider
Copy link
Contributor

No description provided.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @iarspider for branch IB/CMSSW_13_2_X/master.

@cmsbuild, @smuzaffar, @aandvalenzuela, @iarspider can you please review it and eventually sign? Thanks.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.
cms-bot commands are listed here

protobuf.spec Outdated Show resolved Hide resolved
protobuf.spec Outdated Show resolved Hide resolved
grpc.spec Outdated Show resolved Hide resolved
@iarspider
Copy link
Contributor Author

Thanks for the comments, I will double check these issues.

@cmsbuild
Copy link
Contributor

Pull request #8565 was updated.

@iarspider
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

Pull request #8565 was updated.

@cmsbuild
Copy link
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fa3c28/33412/summary.html
COMMIT: 0a7e315
CMSSW: CMSSW_13_2_X_2023-06-26-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/8565/33412/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation error when building:

Requested to quit.
Requested to quit.
Requested to quit.
* The action "build-external+opencv+4.7.0-425ccbf907d42436942c51f64d4b1191" was not completed successfully because Failed to build opencv. Log file in /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el8_amd64_gcc11/external/opencv/4.7.0-425ccbf907d42436942c51f64d4b1191/log. Final lines of the log file:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h:39:47:   required from here
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/Core/MathFunctions.h:1361:97: error: no matching function for call to 'isinf_impl(const float&)'
1361 | template EIGEN_DEVICE_FUNC bool (isinf)   (const T &x) { return internal::isinf_impl(x); }
|                                                                             ~~~~~~~~~~~~~~~~~~~~^~~
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/Core/MathFunctions.h:1848:24: note: candidate: 'template bool Eigen::internal::isinf_impl(const std::complex<_Tp>&)'
1848 | EIGEN_DEVICE_FUNC bool isinf_impl(const std::complex& x)
|                        ^~~~~~~~~~


@smuzaffar
Copy link
Contributor

please test

@iarspider , are you still working on it?

@iarspider
Copy link
Contributor Author

iarspider commented Jul 5, 2023 via email

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2023

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fa3c28/33559/summary.html
COMMIT: 0a7e315
CMSSW: CMSSW_13_2_X_2023-07-04-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/8565/33559/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation error when building:

* The action "build-external+professor2+2.3.3-345e5b3f5f7f9310d850731252431705" was not completed successfully because Failed to build professor2. Log file in /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el8_amd64_gcc11/external/professor2/2.3.3-345e5b3f5f7f9310d850731252431705/log. Final lines of the log file:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/SVD/JacobiSVD.h:607:57:   required from 'Eigen::JacobiSVD& Eigen::JacobiSVD::compute(const MatrixType&) [with MatrixType_ = Eigen::Matrix; int Options_ = 0; Eigen::JacobiSVD::MatrixType = Eigen::Matrix]'
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/SVD/BDCSVD.h:341:21:   required from 'Eigen::BDCSVD& Eigen::BDCSVD::compute_impl(const MatrixType&, unsigned int) [with MatrixType_ = Eigen::Matrix; int Options_ = 0; Eigen::BDCSVD::MatrixType = Eigen::Matrix]'
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/SVD/BDCSVD.h:205:5:   required from 'Eigen::BDCSVD::BDCSVD(const MatrixType&, unsigned int) [with MatrixType_ = Eigen::Matrix; int Options_ = 0; Eigen::BDCSVD::MatrixType = Eigen::Matrix]'
src/Ipol.cc:93:55:   required from here
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h:115:39: error: using invalid field 'Eigen::ColPivHouseholderQR::m_hCoeffs'
115 |         m_usePrescribedThreshold(false) {}
|                                       ^
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h:115:39: error: using invalid field 'Eigen::ColPivHouseholderQR::m_colsTranspositions'
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h:115:39: error: using invalid field 'Eigen::ColPivHouseholderQR::m_temp'
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el8_amd64_gcc11/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-2bb71f8a970ac1da8e15bb1d274b1f5d/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h:115:39: error: using invalid field 'Eigen::ColPivHouseholderQR::m_colNormsUpdated'


@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 7, 2023

Pull request #8565 was updated.

@iarspider
Copy link
Contributor Author

please test

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fa3c28/33900/summary.html
COMMIT: b9ad108
CMSSW: CMSSW_13_3_X_2023-07-25-2300/el8_amd64_gcc11
Additional Tests: PROFILING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/8565/33900/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found errors in the following unit tests:

---> test SiStripDAQ_O2O_test had ERRORS

RelVals-INPUT

The relvals timed out after 4 hours.

Comparison Summary

Summary:

  • You potentially removed 162 lines from the logs
  • Reco comparison results: 28 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3150117
  • DQMHistoTests: Total failures: 1560
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3148535
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 207 log files, 159 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@smuzaffar
Copy link
Contributor

@cms-sw/reconstruction-l2 , can you please check the DQM/reco comparison results here? We are trying to update Tensorflow to version 2.12 and looks like there are few differences in the tracking part. If these changes looks reasonable then we would move forward with TF 2.12 integration ( which also has some fixes for c++20 standard)

@smuzaffar
Copy link
Contributor

+externals

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_13_3_X/master IBs (but tests are reportedly failing). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

perrotta commented Aug 1, 2023

+1

@perrotta
Copy link
Contributor

perrotta commented Aug 1, 2023

merge

@cmsbuild cmsbuild merged commit 9a823ae into IB/CMSSW_13_3_X/master Aug 1, 2023
@fwyzard
Copy link
Contributor

fwyzard commented Aug 3, 2023

This may be causing a failure in the GPU tests, reported here: cms-sw/cmssw#42460 .

@smuzaffar smuzaffar deleted the tf-2.12 branch August 6, 2023 18:25
smuzaffar added a commit that referenced this pull request Aug 7, 2023
* Use C++20 with more packages

* Changes from review

* Update env.sh

* Changes from review; TF needs to be updated

* Update TF to 2.12 (forward-port of #8565)

* cmssw-tool-conf compiles

* Remove unnecessary patch for tbb; add patch for sherpa

* Update tbb.spec

* Update dd4hep.spec

* Update tbb.spec

* Update tensorflow-sources.file

---------

Co-authored-by: Malik Shahzad Muzaffar <shahzad.malik.muzaffar@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants